package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Permission;

import java.util.List;

/**
 * @author lqq
 * @date 2020-01-15 15:02
 */
public interface PermissionService {
    public PageResult pageQuery(QueryPageBean queryPageBean);

    public void add(Permission permission);

  public   void deleteById(Integer id);


   public Permission findById(Integer id);

   public void edit(Permission permission);

  public List<Permission> findAll();
}
